package com.jin.lazytool.customevent;

import com.jin.lazytool.entity.IEvent;
import com.jin.lazytool.entity.KeyDownUpEvent;
import com.jin.lazytool.entity.KeyPressEvent;

public class CustomKeyPressEvent extends CustomKeyDownUpEvent{
    @Override
    public String getName() {
        return "按下按键";
    }

    @Override
    Class<? extends IEvent> eventClass() {
        return KeyPressEvent.class;
    }

    @Override
    KeyDownUpEvent newEvent() {
        return new KeyPressEvent();
    }
}
